package com.ruoyi.customer.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 客户对象 t_mes_customer
 *
 * @author ruoyi
 * @date 2024-05-26
 */
@TableName("t_mes_customer")
@Data
public class TMesCustomer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 客户名称 */
    @Excel(name = "客户名称")
    @ApiModelProperty("客户名称")
    private String name;

    /** 客户分类id */
    @Excel(name = "客户分类id")
    @ApiModelProperty("客户分类id")
    private Long categoryId;

    @ApiModelProperty("客户分类")
    @TableField(exist = false)
    private String categoryName;

    /** 客户编号 */
    @Excel(name = "客户编号")
    @ApiModelProperty("客户编号")
    private String no;

    /** 税号 */
    @Excel(name = "税号")
    @ApiModelProperty("税号")
    private String certNo;

    /** 开户行 */
    @Excel(name = "开户行")
    @ApiModelProperty("开户行")
    private String bank;

    /** 开户行卡号 */
    @Excel(name = "开户行卡号")
    @ApiModelProperty("开户行卡号")
    private String bankCard;

    /** 联系人 */
    @Excel(name = "联系人")
    @ApiModelProperty("联系人")
    private String contacts;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    @ApiModelProperty("联系人电话")
    private String tel;

    /** 省 */
    @Excel(name = "省")
    @ApiModelProperty("省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    @ApiModelProperty("市")
    private String city;

    /** 区县 */
    @Excel(name = "区县")
    @ApiModelProperty("区县")
    private String county;

    /** 详细地址 */
    @Excel(name = "详细地址")
    @ApiModelProperty("详细地址")
    private String address;

    /** 企业性质 */
    @Excel(name = "企业性质")
    @ApiModelProperty("企业性质")
    private String companyType;

    /** 客户级别 */
    @Excel(name = "客户级别")
    @ApiModelProperty("客户级别")
    private String customerLevel;

    private String remark;

    // 1客户、2供应商
    private String type;

    private Integer deleteFlag;


    /** 创建人id */
    @Excel(name = "创建人id")
    @ApiModelProperty("创建人id")
    private Long createId;
    private Date createTime;
    private String createBy;

    /** 更新人id */
    @Excel(name = "更新人id")
    @ApiModelProperty("更新人id")
    private Long updateId;
    private Date updateTime;
    private String updateBy;

    private String title2;


}
